$total: 8;
@function column-width($col) {
    @return percentage($col/$total);
}